<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="renderer" content="webkit">
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
    <title>登录</title>
    <link rel="stylesheet" href="css/base.css">
    <link rel="stylesheet" href="css/page/login.css">
    <link rel="stylesheet" href="css/lib/element-ui.css">
    <script src="js/lib/vue.js"></script>
    <script src="js/lib/element-ui.js"></script>
</head>

<body>
    <div class="body" id="app">
        <main class="main">
            <div class="login">
                <h1>登录</h1>
                <el-form
                    :model="loginForm"
                    ref="loginForm"
                    :rules="rulesLogin"
                >
                    <el-form-item prop="use">
                        <el-input v-model="loginForm.use" placeholder="姓名"></el-input>
                    </el-form-item>
                    <el-form-item prop="pwd">
                        <el-input type="password" v-model="loginForm.pwd" placeholder="姓名"></el-input>
                    </el-form-item>
                    <el-form-item>
                        <el-button type="primary" @click="submitLoginForm('loginForm')">登录</el-button>
                    </el-form-item>
                </el-from>
            </div>
        </main>
    </div>
    <script src="js/page/login.js"></script>
</body>

</html>